package com.fone.player.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.ViewDebug.ExportedProperty;
import android.widget.TextView;

/**
 * 自动获取焦点TextView，在FonePlayerActivity中走马灯效果时使用
 * 
 * @author kongxiaojun
 * @since 2014-6-9
 */
public class AutoFocusTextView extends TextView {

	public AutoFocusTextView(Context context) {
		super(context);
	}

	public AutoFocusTextView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		 // TODO Auto-generated constructor stub
		
	}

	public AutoFocusTextView(Context context, AttributeSet attrs) {
		super(context, attrs);
		 // TODO Auto-generated constructor stub
		
	}

	@Override
	@ExportedProperty(category = "focus")
	public boolean isFocused() {
		 return true;
	}
	
}
